import dic from './modules/dictionary'
import org from './modules/org'
import right from './modules/right'
import { cus } from './modules/customer'
import product from './modules/product'
import vip from './modules/vip'
import reservation from './modules/reservation'


const routes=[
    {
        path: '/login',
        component: () => import('@/views/login/index.vue'),
        meta: {
            title: '登录',
            not_check: true
        }
    },
    {
        path: '/',
        component: () => import('@/views/layout.vue'),
        meta: {
            title: "首页"
        },
        children: [
            {
                path: 'index',
                component: () => import('@/views/index.vue'),
                meta: {
                    title: "首页"
                }
            },

            right, org, dic, cus, product,vip,reservation
        ]
    }
]
export default routes